package pack3;

public class Point {
    private double x;
    private double y;
    public static  double  n;

    public Point(double x, double y) {
        this.x = x;
        this.y = y;
        n++;
    }

    public Point() {
        n++;
    }

    @Override
    public String toString() {
        return "("+this.x+","+this.y+")";
    }
}
